﻿using MediatR;
using RearLivestock.Common.Dtos;

namespace RearLivestock.Beginning.Api.Application.Command.ChangeHouse
{
    public class QueryChangeHouseCommand:IRequest<Result<PageResultDto<ChangeHouseDto>>>
    {
        ///// <summary>
        ///// 开始分娩日期
        ///// </summary>
        //public DateTime?KaiDate { get; set; }
        ///// <summary>
        ///// 结束日期
        ///// </summary>
        //public DateTime?EndDate { get; set; }
        /// <summary>
        /// 猪只耳号
        /// </summary>
        public int?BasicInforId { get; set; }
        /// <summary>
        /// 转舍类型
        /// </summary>
        public int?ChangeHouseTypeId { get; set; }
        /// <summary>
        /// 转出栋舍
        /// </summary>
        public string? TurnBuilding { get; set; }
        /// <summary>
        /// 转出栏位
        /// </summary>
        public string? TurnColumn { get; set; }
        /// <summary>
        /// 转入栋舍
        /// </summary>
        public int? BedroomId { get; set; }
        /// <summary>
        /// 转入栏位
        /// </summary>
        public int? FieldId { get; set; }
        
        /// <summary>
        /// 当前页
        /// </summary>
        public int pageIndex { get; set; }
        /// <summary>
        /// 页索引
        /// </summary>
        public int pageSize { get; set; }
    }
}
